package com.kexilo.core.role.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 鐢ㄦ埛鍜岃鑹插叧鑱?kx_sys_user_role
 * 
 * @author Kexilo
 */
@TableName("kx_sys_user_role")
public class SysUserRole {
    
    /** 鐢ㄦ埛ID */
    @TableId
    private Long userId;
    
    /** 瑙掕壊ID */
    private Long roleId;
    
    public SysUserRole() {
        
    }
    
    public SysUserRole(Long userId, Long roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
    
    // Getter methods
    public Long getUserId() {
        return userId;
    }
    
    public Long getRoleId() {
        return roleId;
    }
    
    // Setter methods
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}